package org.dromara.business.domain.vo;

import org.dromara.business.domain.Music;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 音乐视图对象 music
 *
 * @author Lion Li
 * @date 2025-01-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Music.class)
public class MusicVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 路径
     */
    @ExcelProperty(value = "路径")
    private String url;
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "url")
    private String urlLink;

}
